#!/usr/bin/env bash
# This file is part of the kernelstudio package.
#
# (c) 2014-2025 zlin <admin@kernelstudio.com>
#
# For the full copyright and license information, please view the LICENSE file
# that was distributed with this source code.

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

flask db init
flask db migrate
flask db upgrade